package com.github.bitsapling.sapling.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;


@TableName("activity_record")
public class ActivityRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 活动id
     */
    private String promotionId;

    /**
     * 奖励内容
     */
    private String reward;

    /**
     * 参与时间
     */
    private LocalDateTime participatedTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(String promotionId) {
        this.promotionId = promotionId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public LocalDateTime getParticipatedTime() {
        return participatedTime;
    }

    public void setParticipatedTime(LocalDateTime participatedTime) {
        this.participatedTime = participatedTime;
    }

    @Override
    public String toString() {
        return "ActivityRecord{" +
        "id = " + id +
        ", userId = " + userId +
        ", promotionId = " + promotionId +
        ", reward = " + reward +
        ", participatedTime = " + participatedTime +
        "}";
    }
}
